using UnityEngine;
using System.Collections;

public class MainMenu : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void OnGUI()
    	{
     		DrawMainMenu();
 
   		}

    void DrawMainMenu()
    {
       
        GUI.Box(new Rect( 50, 50, Screen.width - 100, Screen.height - 100),"Main Menu");
		
		if(GUI.Button(new Rect( 300, 100, Screen.width - 600, 100), "New Game"))
		{
			Application.LoadLevel("Difficulty");
		}
		
		if(GUI.Button(new Rect( 300, 250, Screen.width - 600, 100), "High Scores"))
		{
			Application.LoadLevel("HighScore");
		}      
    }

}
